﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace Kooboo.Commerce.Repositories
{
    public partial class EntityRepositories
    {
        public void Delete(IProductCustomField productField)
        {
            if (productField != null)
            {
                var find = this.DataWriterContext.ProductCustomFields.Where(i => i.Id == productField.Id);

                this.DataWriterContext.ProductCustomFields.DeleteAllOnSubmit(find);
                
            }

        }
    }
}
